home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A tasty chocolate confection',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 75,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (225,175,145),
- 'Direction': (0.454012,0.599963,-0.658724),
- 'HighlightSize': 0
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (227,207,163),
- 'Direction': (-0.54265,-0.58265,-0.605021),
- 'HighlightSize': 0
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (81,45,29),
- 'Direction': (-0.558626,-0.78942,0.254467),
- 'HighlightSize': 20
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (74,51,38),
- 'Direction': (0.271567,0.774232,0.571679),
- 'HighlightSize': 33
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (70,38,0),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.true,
- 'Depth': 100,
- 'FileName': 'Twirl',
- 'Fit': App.Constants.Boolean.true,
- 'Size': 80,
- 'Smoothness': 20
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 0,
- 'Opacity': 100,
- 'Shininess': 50
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-